/*day_mon3.c -- uses pointer notation */
#include "stdio.h"

void main(){
    const int days[] = {31,28,31,30,31,30,31,31,30,31,30,31};
    int index;

    for(index = 0;index < sizeof days/sizeof days[0];index++){
        printf("index=%d,days[%d]=5%p\n",index+1,index,*(days + index));
    }
}